//
//  KindTurnIcon.m
//  TrainTree
//
//  Created by wanghui on 2017/10/15.
//  Copyright © 2017年 YouYeShu. All rights reserved.
//

#import "KindTurnIcon.h"

@implementation KindTurnIcon
+ (NSString *)iconWithId:(NSString *)themeId
{
    NSString *img = @"";
    NSInteger kind = [themeId integerValue];
    switch (kind) {
        case 1:
            return @"universe_select";
            break;
        case 2:
            return @"leadership_select";
            break;
        case 3:
            return @"operation_select";
            break;
        case 4:
            return @"hr_select";
            break;
        case 5:
            return @"finance_select";
            break;
        case 6:
            return @"lec_select";
            break;
        case 7:
            return @"universe_select";
            break;
        case 8:
            return @"leadership_select";
            break;
        default:
            return @"universe_select";
            break;
    }
    return img;

}

+ (UIColor *)iconBgColorWithId:(NSString *)themeId
{
    UIColor *tmpColor = [UIColor whiteColor];

    NSInteger kind = [themeId integerValue];
    switch (kind) {
        case 1:
            return universeColor;
            break;
        case 2:
            return leaderColor;
            break;
        case 3:
            return operationColor;
            break;
        case 4:
            return hrColor;
            break;
        case 5:
            return financeColor;
            break;
        case 6:
            return lecColor;
            break;
        case 7:
            return universeColor;
            break;
        case 8:
            return leaderColor;
            break;
        default:
            return universeColor;
            break;
    }
    return tmpColor;
}
@end
